﻿
using System;
using Iesi.Collections.Generic;

namespace Family.Core.Model
{
    public class Category : EntityWithTypeId<Int32>
    {
        public virtual String Name { get; set; }

        public virtual ISet<Product> Products { get; protected set; }

        public Category()
        {
            Products = new HashedSet<Product>();
        }
    }
}
